package cn.com.xyc.aop.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.xyc.aop.dao.UserDao;
import cn.com.xyc.aop.service.SystemService;

@Service(value="systemService")
public class SystemServiceImpl implements SystemService {

	@Resource
	public UserDao userDao;

	/*public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}*/

	@Override
	public void regist() {
		System.out.println("Service##用户注册处理");
		userDao.save();
	}

	@Override
	public void update() {
		System.out.println("Service##用户修改个人信息处理");
		userDao.update();
	}

}
